profiler: Add G_GNUC_PRINTF markers to silence warnings
authorAlexander Larsson <alexl@redhat.com>
Wed, 12 Feb 2020 12:35:42 +0000 (13:35 +0100)
committerAlexander Larsson <alexl@redhat.com>
Wed, 12 Feb 2020 12:36:04 +0000 (13:36 +0100)
commitd9c59a7c8ccdb7c0ffdd8c5f9104a94675e49f40
tree6012902306e33b3faca47b122c8b4490f56539af
parent324202a56c57375b1daf7ba61f099fe9773aabcb
profiler: Add G_GNUC_PRINTF markers to silence warnings

I was getting CI failures like:
 ../gdk/gdkprofiler.c: In function ‘add_markvf’:
../gdk/gdkprofiler.c:111:3: error: function ‘add_markvf’ might be a candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format]
gdk/gdkprofiler.c